<template>
  <div id="app">
    <!--    引入路由视图，访问页面时，会根据url加载对应的组件到router-view内    -->
    <router-view style="height: 100%;"></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {}
  },
  methods: {}
}
</script>

<!--启用sass写法，可以嵌套、可以声明变量-->
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100%;
}

body {
  margin: 0;
}
</style>
